package com.gzhryc.shared_device.oem.code.agent.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

import java.util.Date;

/**
 * 用户等级
 * @version 2022-11-07
 */
@Table(name="agent_level")
public class AgentLevel {

    @Id(auto = false)
    @Column(note = "级别")
    protected Integer num;

    @Column(notNull = true,note = "级别名称")
    protected String name;
    
    @Column(name="service_charge_ratio",notNull = true, defVal="2", note = "服务费比例")
    protected Double serviceChargeRatio;

    @Column(name = "update_date", autoUpdateTime = true)
    protected Date updateDate;

    @Column(name = "create_date")
    protected Date createDate;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public Double getServiceChargeRatio() {
		return serviceChargeRatio;
	}

	public void setServiceChargeRatio(Double serviceChargeRatio) {
		this.serviceChargeRatio = serviceChargeRatio;
	}

	public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
